<template>
  <p>子组件2--用户信息--{{ userInfo.age }}</p>
</template>
<script setup>

const props = defineProps({
  userInfo: {
    type: Object,
    default: () => {
      return {}
    },
  },
});
</script>
